#pragma once
#include"public_struct.h"
vector<int> getRow(int rowIndex) {
	vector<int> result{ 1 };
	for (int i = 1; i <= rowIndex; i++) {
		int temp = 1;
		for (int j = 1; j < result.size(); j++) {
			int c = result[j];
			result[j] = c + temp;
			temp = c;
		}
		result.push_back(1);
	}
	return result;
}